package com.base.engine.error;

public class MADException extends RuntimeException {

	private static final long serialVersionUID = 7126976345635911014L;

	public MADException(String errorMessage){
		super(errorMessage);
	}
	
	public static void NullPointerException(String objType){
		throw new MADException("Invalid reference given - Object is NULL! Object type: "+objType) ; 
	}
	
}
